all:mac_server mac_client
#CC=$(CXX)
mac_server:mac_server.o
	${CXX} -std=c++11 -g -o mac_server mac_server.o -lpthread 
mac_client:mac_client.o
	${CXX} -std=c++11 -g -o mac_client mac_client.o -lpthread 
	
mac_server.o:mac_server.cpp 
	${CXX} -std=c++11 -g -c mac_server.cpp -lpthread
mac_client.o:mac_client.cpp
	${CXX} -std=c++11 -g -c mac_client.cpp -lpthread
clean:all
	rm *.o  mac_server mac_client
